package org.jxht.dto;

import org.jxht.util.BaseDto;

import java.io.Serializable;

/**
 * Created by huang on 2016/11/17 0017.
 * 学生实体类
 */
public class StudentDto extends BaseDto implements Serializable{

    private int stuId = 0;

    private String stuPwd;

    private String stuName;

    private String stuSex;

    private String stuProId;

    private String proName;

    private String stuEmail;

    private String stuHome;

    private String stuNation;

    private int stuCreditCount;

    public StudentDto() {
        super();
    }

    public StudentDto(int stuId) {
        this.stuId = stuId;
    }

    public StudentDto(int stuId, String stuPwd, String stuName) {
        this.stuId = stuId;
        this.stuPwd = stuPwd;
        this.stuName = stuName;
    }

    public StudentDto(int stuId, String stuPwd, String stuName, String stuSex, String stuProId) {
        this.stuId = stuId;
        this.stuPwd = stuPwd;
        this.stuName = stuName;
        this.stuSex = stuSex;
        this.stuProId = stuProId;
    }

    public long getStuId() {
        return stuId;
    }

    public void setStuId(int stuId) {
        this.stuId = stuId;
    }

    public String getStuPwd() {
        return stuPwd;
    }

    public void setStuPwd(String stuPwd) {
        this.stuPwd = stuPwd;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStuSex() {
        return stuSex;
    }

    public void setStuSex(String stuSex) {
        this.stuSex = stuSex;
    }

    public String getStuProId() {
        return stuProId;
    }

    public void setStuProId(String stuProId) {
        this.stuProId = stuProId;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    public String getStuEmail() {
        return stuEmail;
    }

    public void setStuEmail(String stuEmail) {
        this.stuEmail = stuEmail;
    }

    public String getStuHome() {
        return stuHome;
    }

    public void setStuHome(String stuHome) {
        this.stuHome = stuHome;
    }

    public String getStuNation() {
        return stuNation;
    }

    public void setStuNation(String stuNation) {
        this.stuNation = stuNation;
    }

    public int getStuCreditCount() {
        return stuCreditCount;
    }

    public void setStuCreditCount(int stuCreditCount) {
        this.stuCreditCount = stuCreditCount;
    }

    @Override
    public String toString() {
        return "StudentDto{" +
                "stuId=" + stuId +
                ", stuPwd='" + stuPwd + '\'' +
                ", stuName='" + stuName + '\'' +
                ", stuSex='" + stuSex + '\'' +
                ", stuProId='" + stuProId + '\'' +
                ", proName='" + proName + '\'' +
                ", stuEmail='" + stuEmail + '\'' +
                ", stuHome='" + stuHome + '\'' +
                ", stuNation='" + stuNation + '\'' +
                ", stuCreditCount=" + stuCreditCount +
                '}';
    }
}
